<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>PPFont (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="PPFont (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PPFont.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/hslf/model/Polygon.html" title="class in org.apache.poi.hslf.model"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html" title="class in org.apache.poi.hslf.model"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/hslf/model/PPFont.html" target="_top">FRAMES</a></li>
<li><a href="PPFont.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.hslf.model</p>
<h2 title="Class PPFont" class="title">Class PPFont</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.poi.hslf.model.PPFont</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <strong>PPFont</strong>
extends java.lang.Object</pre>
<div class="block">Represents a Font used in a presenation.
 <p>
 In PowerPoint Font is a shared resource and can be shared among text object in the presentation.
 </p>
 Some commonly used fonts are predefined in static constants.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Yegor Kozlov</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#ANSI_CHARSET">ANSI_CHARSET</a></strong></code>
<div class="block">ANSI character set</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#ARIAL">ARIAL</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#charset">charset</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#COURIER_NEW">COURIER_NEW</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#DEFAULT_CHARSET">DEFAULT_CHARSET</a></strong></code>
<div class="block">Default character set.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#DEFAULT_PITCH">DEFAULT_PITCH</a></strong></code>
<div class="block">Constants for the pitch and family of the font.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FF_DECORATIVE">FF_DECORATIVE</a></strong></code>
<div class="block">Novelty fonts.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FF_DONTCARE">FF_DONTCARE</a></strong></code>
<div class="block">Don't care or don't know.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FF_MODERN">FF_MODERN</a></strong></code>
<div class="block">Fonts with constant stroke width (monospace), with or without serifs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FF_ROMAN">FF_ROMAN</a></strong></code>
<div class="block">Fonts with variable stroke width (proportional) and with serifs.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FF_SCRIPT">FF_SCRIPT</a></strong></code>
<div class="block">Fonts designed to look like handwriting.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FF_SWISS">FF_SWISS</a></strong></code>
<div class="block">Fonts with variable stroke width (proportional) and without serifs.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#FIXED_PITCH">FIXED_PITCH</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#flags">flags</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#name">name</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#pitch">pitch</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#SYMBOL_CHARSET">SYMBOL_CHARSET</a></strong></code>
<div class="block">Symbol character set</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#TIMES_NEW_ROMAN">TIMES_NEW_ROMAN</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#type">type</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#VARIABLE_PITCH">VARIABLE_PITCH</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#WINGDINGS">WINGDINGS</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#PPFont()">PPFont</a></strong>()</code>
<div class="block">Creates a new instance of PPFont</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#PPFont(org.apache.poi.hslf.record.FontEntityAtom)">PPFont</a></strong>(<a href="../../../../../org/apache/poi/hslf/record/FontEntityAtom.html" title="class in org.apache.poi.hslf.record">FontEntityAtom</a>&nbsp;fontAtom)</code>
<div class="block">Creates a new instance of PPFont and initialize it from the supplied font atom</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#getCharSet()">getCharSet</a></strong>()</code>
<div class="block">get the character set</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#getFontFlags()">getFontFlags</a></strong>()</code>
<div class="block">get the character set
 Bit 1: If set, font is subsetted</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#getFontName()">getFontName</a></strong>()</code>
<div class="block">get the name for the font (i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#getFontType()">getFontType</a></strong>()</code>
<div class="block">get the font type</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#getPitchAndFamily()">getPitchAndFamily</a></strong>()</code>
<div class="block">get lfPitchAndFamily</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#setCharSet(int)">setCharSet</a></strong>(int&nbsp;val)</code>
<div class="block">set the character set</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#setFontFlags(int)">setFontFlags</a></strong>(int&nbsp;val)</code>
<div class="block">set the font flags
 Bit 1: If set, font is subsetted</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#setFontName(java.lang.String)">setFontName</a></strong>(java.lang.String&nbsp;val)</code>
<div class="block">set the name for the font (i.e.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#setFontType(int)">setFontType</a></strong>(int&nbsp;val)</code>
<div class="block">set the font type</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPFont.html#setPitchAndFamily(int)">setPitchAndFamily</a></strong>(int&nbsp;val)</code>
<div class="block">set lfPitchAndFamily</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="ANSI_CHARSET">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ANSI_CHARSET</h4>
<pre>public static final&nbsp;byte ANSI_CHARSET</pre>
<div class="block">ANSI character set</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.ANSI_CHARSET">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEFAULT_CHARSET">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_CHARSET</h4>
<pre>public static final&nbsp;byte DEFAULT_CHARSET</pre>
<div class="block">Default character set.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.DEFAULT_CHARSET">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SYMBOL_CHARSET">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SYMBOL_CHARSET</h4>
<pre>public static final&nbsp;byte SYMBOL_CHARSET</pre>
<div class="block">Symbol character set</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.SYMBOL_CHARSET">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEFAULT_PITCH">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_PITCH</h4>
<pre>public static final&nbsp;byte DEFAULT_PITCH</pre>
<div class="block">Constants for the pitch and family of the font.
 The two low-order bits specify the pitch of the font and can be one of the following values</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.DEFAULT_PITCH">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FIXED_PITCH">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FIXED_PITCH</h4>
<pre>public static final&nbsp;byte FIXED_PITCH</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FIXED_PITCH">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="VARIABLE_PITCH">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VARIABLE_PITCH</h4>
<pre>public static final&nbsp;byte VARIABLE_PITCH</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.VARIABLE_PITCH">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FF_DONTCARE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FF_DONTCARE</h4>
<pre>public static final&nbsp;byte FF_DONTCARE</pre>
<div class="block">Don't care or don't know.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FF_DONTCARE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FF_ROMAN">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FF_ROMAN</h4>
<pre>public static final&nbsp;byte FF_ROMAN</pre>
<div class="block">Fonts with variable stroke width (proportional) and with serifs. Times New Roman is an example.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FF_ROMAN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FF_SWISS">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FF_SWISS</h4>
<pre>public static final&nbsp;byte FF_SWISS</pre>
<div class="block">Fonts with variable stroke width (proportional) and without serifs. Arial is an example.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FF_SWISS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FF_SCRIPT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FF_SCRIPT</h4>
<pre>public static final&nbsp;byte FF_SCRIPT</pre>
<div class="block">Fonts designed to look like handwriting. Script and Cursive are examples.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FF_SCRIPT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FF_MODERN">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FF_MODERN</h4>
<pre>public static final&nbsp;byte FF_MODERN</pre>
<div class="block">Fonts with constant stroke width (monospace), with or without serifs.
 Monospace fonts are usually modern. CourierNew is an example</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FF_MODERN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="FF_DECORATIVE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FF_DECORATIVE</h4>
<pre>public static final&nbsp;byte FF_DECORATIVE</pre>
<div class="block">Novelty fonts. Old English is an example</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.hslf.model.PPFont.FF_DECORATIVE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="charset">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charset</h4>
<pre>protected&nbsp;int charset</pre>
</li>
</ul>
<a name="type">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>protected&nbsp;int type</pre>
</li>
</ul>
<a name="flags">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flags</h4>
<pre>protected&nbsp;int flags</pre>
</li>
</ul>
<a name="pitch">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pitch</h4>
<pre>protected&nbsp;int pitch</pre>
</li>
</ul>
<a name="name">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre>protected&nbsp;java.lang.String name</pre>
</li>
</ul>
<a name="ARIAL">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ARIAL</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a> ARIAL</pre>
</li>
</ul>
<a name="TIMES_NEW_ROMAN">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TIMES_NEW_ROMAN</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a> TIMES_NEW_ROMAN</pre>
</li>
</ul>
<a name="COURIER_NEW">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COURIER_NEW</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a> COURIER_NEW</pre>
</li>
</ul>
<a name="WINGDINGS">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>WINGDINGS</h4>
<pre>public static final&nbsp;<a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model">PPFont</a> WINGDINGS</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="PPFont()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PPFont</h4>
<pre>public&nbsp;PPFont()</pre>
<div class="block">Creates a new instance of PPFont</div>
</li>
</ul>
<a name="PPFont(org.apache.poi.hslf.record.FontEntityAtom)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PPFont</h4>
<pre>public&nbsp;PPFont(<a href="../../../../../org/apache/poi/hslf/record/FontEntityAtom.html" title="class in org.apache.poi.hslf.record">FontEntityAtom</a>&nbsp;fontAtom)</pre>
<div class="block">Creates a new instance of PPFont and initialize it from the supplied font atom</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="setFontName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontName</h4>
<pre>public&nbsp;void&nbsp;setFontName(java.lang.String&nbsp;val)</pre>
<div class="block">set the name for the font (i.e. Arial)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - String representing the name of the font to use</dd></dl>
</li>
</ul>
<a name="getFontName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getFontName()</pre>
<div class="block">get the name for the font (i.e. Arial)</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>String representing the name of the font to use</dd></dl>
</li>
</ul>
<a name="setCharSet(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCharSet</h4>
<pre>public&nbsp;void&nbsp;setCharSet(int&nbsp;val)</pre>
<div class="block">set the character set</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - - characterset</dd></dl>
</li>
</ul>
<a name="getCharSet()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCharSet</h4>
<pre>public&nbsp;int&nbsp;getCharSet()</pre>
<div class="block">get the character set</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>charset - characterset</dd></dl>
</li>
</ul>
<a name="setFontFlags(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontFlags</h4>
<pre>public&nbsp;void&nbsp;setFontFlags(int&nbsp;val)</pre>
<div class="block">set the font flags
 Bit 1: If set, font is subsetted</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - - the font flags</dd></dl>
</li>
</ul>
<a name="getFontFlags()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontFlags</h4>
<pre>public&nbsp;int&nbsp;getFontFlags()</pre>
<div class="block">get the character set
 Bit 1: If set, font is subsetted</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the font flags</dd></dl>
</li>
</ul>
<a name="setFontType(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontType</h4>
<pre>public&nbsp;void&nbsp;setFontType(int&nbsp;val)</pre>
<div class="block">set the font type
 <p>
 Bit 1: Raster Font
 Bit 2: Device Font
 Bit 3: TrueType Font
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - - the font type</dd></dl>
</li>
</ul>
<a name="getFontType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontType</h4>
<pre>public&nbsp;int&nbsp;getFontType()</pre>
<div class="block">get the font type
 <p>
 Bit 1: Raster Font
 Bit 2: Device Font
 Bit 3: TrueType Font
 </p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the font type</dd></dl>
</li>
</ul>
<a name="setPitchAndFamily(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPitchAndFamily</h4>
<pre>public&nbsp;void&nbsp;setPitchAndFamily(int&nbsp;val)</pre>
<div class="block">set lfPitchAndFamily</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>val</code> - - Corresponds to the lfPitchAndFamily field of the Win32 API LOGFONT structure</dd></dl>
</li>
</ul>
<a name="getPitchAndFamily()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getPitchAndFamily</h4>
<pre>public&nbsp;int&nbsp;getPitchAndFamily()</pre>
<div class="block">get lfPitchAndFamily</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>corresponds to the lfPitchAndFamily field of the Win32 API LOGFONT structure</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PPFont.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/hslf/model/Polygon.html" title="class in org.apache.poi.hslf.model"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html" title="class in org.apache.poi.hslf.model"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/hslf/model/PPFont.html" target="_top">FRAMES</a></li>
<li><a href="PPFont.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
